projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
52ecedb
)
xend: pass-through: Remove PciDeviceNotFoundError, it is never used
author
Keir Fraser
<keir.fraser@citrix.com>
Tue, 16 Jun 2009 10:38:33 +0000
(11:38 +0100)
committer
Keir Fraser
<keir.fraser@citrix.com>
Tue, 16 Jun 2009 10:38:33 +0000
(11:38 +0100)
Signed-off-by: Simon Horman <horms@verge.net.au>
tools/python/xen/util/pci.py
patch
|
blob
|
history
diff --git
a/tools/python/xen/util/pci.py
b/tools/python/xen/util/pci.py
index 9e7e534a33b31a98b19a49b8c21bb8579b4b8396..fb64c01b9bbd8fac38e5c3fc8bff9a47b2c27f0f 100644
(file)
--- a/
tools/python/xen/util/pci.py
+++ b/
tools/python/xen/util/pci.py
@@
-375,17
+375,6
@@
def check_mmio_bar(devs_list):
return result
-class PciDeviceNotFoundError(Exception):
- def __init__(self,domain,bus,slot,func):
- self.domain = domain
- self.bus = bus
- self.slot = slot
- self.func = func
- self.name = PCI_DEV_FORMAT_STR %(domain, bus, slot, func)
-
- def __str__(self):
- return ('PCI Device %s Not Found' % (self.name))
-
class PciDeviceParseError(Exception):
def __init__(self,msg):
self.message = msg